<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />

	<title>File: README.rdoc [RDoc Documentation]</title>

	<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />

	<script src="./js/jquery.js" type="text/javascript"
		charset="utf-8"></script>
	<script src="./js/thickbox-compressed.js" type="text/javascript"
		charset="utf-8"></script>
	<script src="./js/quicksearch.js" type="text/javascript"
		charset="utf-8"></script>
	<script src="./js/darkfish.js" type="text/javascript"
		charset="utf-8"></script>
</head>

<body class="file">
	<div id="metadata">
		<div id="home-metadata">
			<div id="home-section" class="section">
        <h3 class="section-header">
          <a href="./index.html">Home</a>
          <a href="./index.html#classes">Classes</a>
          <a href="./index.html#methods">Methods</a>
        </h3>
			</div>
		</div>

		<div id="project-metadata">
			
			
			<div id="fileindex-section" class="section project-section">
				<h3 class="section-header">Files</h3>
				<ul>
				
					<li class="file"><a href="./CHANGELOG.html">CHANGELOG</a></li>
				
					<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
				
					<li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
				
				</ul>
			</div>
			

			<div id="classindex-section" class="section project-section">
				<h3 class="section-header">Class Index
					<span class="search-toggle"><img src="./images/find.png"
						height="16" width="16" alt="[+]"
						title="show/hide quicksearch" /></span></h3>
				<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
				<fieldset>
					<legend>Quicksearch</legend>
					<input type="text" name="quicksearch" value=""
						class="quicksearch-field" />
				</fieldset>
				</form>

				<ul class="link-list">
				
					<li><a href="./RubyRegex.html">RubyRegex</a></li>
				
				</ul>
				<div id="no-class-search-results" style="display: none;">No matching classes.</div>
			</div>

			
		</div>
	</div>

	<div id="documentation">
		<h1><a href="RubyRegex.html">RubyRegex</a></h1>
<p>
<a href="RubyRegex.html">RubyRegex</a> is a nice collection of regular
expressions in Ruby
</p>
<h2>Regular expressions</h2>
<pre>
  RubyRegex::Url
  RubyRegex::Domain
  RubyRegex::Email
  RubyRegex::Username
  RubyRegex::USSocialSecurity
  RubyRegex::GeneralPostalCode
  RubyRegex::ZIPCode
  RubyRegex::CreditCard
  RubyRegex::MasterCard
  RubyRegex::Visa
  RubyRegex::TwitterUsername
  RubyRegex::DeliciousUsername
  RubyRegex::SlidesahreUsername
  RubyRegex::GithubUsername
  
</pre>
<h2>Rails</h2>
<pre>
  # config/environment.rb
  config.gem ruby_regex
  
  
  # models
  validates_format_of :email, :with =&gt; RubyRegex::Email
  
</pre>
<h2>Contribute</h2>
<p>
Of course, contributions will be apreciated.
</p>
<p>
If you want to contribute send me a pull request with new regular
expressions (and their tests) or send me an email  with your desired
regular expression to emili@eparreno.com
</p>
<h2>Contributors</h2>
<ul>
<li><p>
Lleïr Borràs
</p>
</li>
<li><p>
Jaime Iniesta
</p>
</li>
</ul>
<hr style="height: 1px"></hr><p>
<a href="RubyRegex.html">RubyRegex</a> is released under the MIT-License
and is Copyright &#169;2010 Emili Parreño.
</p>

	</div>

	<div id="validator-badges">
		<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
		<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
			Rdoc Generator</a> 1.1.6</small>.</p>
	</div>
</body>
</html>

